<template>
  <div id="app">
    <router-view v-if="isRouterAlive" />
  </div>
</template>
<script>
export default {
  name : "App",
  provide(){
    return{
      reload:this.reload
    }
  },
  data(){
    return{
      isRouterAlive:true
    }
  },
  methods:{
    reload(){
      this.isRouterAlive=false
      setTimeout(()=>{
        this.isRouterAlive=true
      },10)
    }
  },
  components:{
  }
}
</script>
<style>
</style>
